/**
 * @file:          Config_Mcu.c
 * @brief:
 * @details:
 * @author:        wjh
 * @date created:  2023.06.12
 * @version:       1.0.0
 * @par copyright (c):
 *
 * @par history (desc):
 *   version:1.0.0, wjh, 2023.06.12,12:43:05
 */
/* Include Files **************************************************************/
#include "ConfigOption.h"
#include "DefaultParam.h"
#include "string.h"
#include "main.h"
#include "malloc.h"

/* Global Variable Define *****************************************************/

// void Config_mcu_ch32v303VCT6(ch32v30x_module *self);
// ch32v30x_module mcu_ch32v30VCT6 = {.ConfigParam = Config_mcu_ch32v303VCT6};
// void Config_mcu_ch32v303VCT6(ch32v30x_module *self)
// {
//     memset(self, 0, sizeof(ch32v30x_module));
//     self->ConfigParam = Config_mcu_ch32v303VCT6;
//     self->Init = ch32v30x_module_v11_Init;
    
//     self->param_sysclk_hz = 144000000;
//     self->param_pwm_period_s = 0.5 * 2e-5;//50k 5e-5;//20k 1e-4;//10k 1e-5;//100k 5e-6;//200k 5e-6;//200k 
//     self->param_uart_baudrate = 3000000; 

//     self->param_pin_PA0 = &stepper_motor_controller.driver_board->param_pin_IA_OP_O_out;
//     self->param_pin_PA1 = &stepper_motor_controller.driver_board->param_pin_IB_OP_O_out;
//     self->param_pin_PA2 = NULL;
//     self->param_pin_PA3 = &stepper_motor_controller.driver_board->param_pin_LED_in;
//     self->param_pin_PA4 = &stepper_motor_controller.driver_board->param_pin_K1_out;
//     self->param_pin_PA5 = NULL;//&stepper_motor_controller.driver_board->param_pin_K2_out;
//     self->param_pin_PA6 = &stepper_motor_controller.driver_board->param_pin_rotor_block_detect_out;//&stepper_motor_controller.driver_board->param_pin_K3_out;
//     self->param_pin_PA7 = NULL;
//     self->param_pin_PA8 = NULL;
//     self->param_pin_PA9 = &stepper_motor_controller.driver_board->param_pin_UART_TX_out;
//     self->param_pin_PA10 = &stepper_motor_controller.driver_board->param_pin_UART_RX_in;
//     self->param_pin_PA11 = NULL;
//     self->param_pin_PA12 = NULL;
//     self->param_pin_PA13 = &stepper_motor_controller.driver_board->param_pin_SWD;
//     self->param_pin_PA14 = &stepper_motor_controller.driver_board->param_pin_SWC;
//     self->param_pin_PA15 = &stepper_motor_controller.driver_board->param_pin_SPI_CS_out;
//     self->param_pin_PB0 = NULL;
//     self->param_pin_PB1 = NULL;
//     self->param_pin_PB2 = NULL;
//     self->param_pin_PB3 = &stepper_motor_controller.driver_board->param_pin_SPI_CLK_out;
//     self->param_pin_PB4 = &stepper_motor_controller.driver_board->param_pin_SPI_MISO_in;
//     self->param_pin_PB5 = &stepper_motor_controller.driver_board->param_pin_SPI_MOSI_out;
//     self->param_pin_PB6 = &stepper_motor_controller.driver_board->param_pin_STEP_in;
//     self->param_pin_PB7 = &stepper_motor_controller.driver_board->param_pin_DIR_in;
//     self->param_pin_PB8 = &stepper_motor_controller.driver_board->param_pin_EN_in;
//     self->param_pin_PB9 = NULL;
//     self->param_pin_PB10 = NULL;
//     self->param_pin_PB11 = NULL;
//     self->param_pin_PB12 = NULL;
//     self->param_pin_PB13 = NULL;
//     self->param_pin_PB14 = NULL;
//     self->param_pin_PB15 = NULL;
//     self->param_pin_PC0 = NULL;
//     self->param_pin_PC1 = NULL;
//     self->param_pin_PC2 = NULL;
//     self->param_pin_PC3 = NULL;
//     self->param_pin_PC4 = NULL;
//     self->param_pin_PC5 = NULL;
//     self->param_pin_PC6 = NULL;
//     self->param_pin_PC7 = NULL;
//     self->param_pin_PC8 = NULL;
//     self->param_pin_PC9 = NULL;
//     self->param_pin_PC10 = NULL;
//     self->param_pin_PC11 = NULL;
//     self->param_pin_PC12 = NULL;
//     self->param_pin_PC13 = NULL;
//     self->param_pin_PC14 = NULL;
//     self->param_pin_PC15 = NULL;
//     self->param_pin_PD0 = NULL;
//     self->param_pin_PD1 = NULL;
//     self->param_pin_PD2 = &stepper_motor_controller.driver_board->param_pin_TestGpio_out;
//     self->param_pin_PD3 = NULL;
//     self->param_pin_PD4 = NULL;
//     self->param_pin_PD5 = NULL;
//     self->param_pin_PD6 = NULL;
//     self->param_pin_PD7 = NULL;
//     self->param_pin_PD8 = NULL;
//     self->param_pin_PD9 = NULL;
//     self->param_pin_PD10 = NULL;
//     self->param_pin_PD11 = NULL;
//     self->param_pin_PD12 = NULL;
//     self->param_pin_PD13 = NULL;
//     self->param_pin_PD14 = NULL;
//     self->param_pin_PD15 = NULL;
//     self->param_pin_PE0 = NULL;
//     self->param_pin_PE1 = NULL;
//     self->param_pin_PE2 = NULL;
//     self->param_pin_PE3 = NULL;
//     self->param_pin_PE4 = NULL;
//     self->param_pin_PE5 = NULL;
//     self->param_pin_PE6 = NULL;
//     self->param_pin_PE7 = NULL;
//     self->param_pin_PE8 = NULL;
//     self->param_pin_PE9 = &stepper_motor_controller.driver_board->param_pin_PWM_IN_A2;
//     self->param_pin_PE10 = NULL;
//     self->param_pin_PE11 = &stepper_motor_controller.driver_board->param_pin_PWM_IN_B2;
//     self->param_pin_PE12 = NULL;
//     self->param_pin_PE13 = &stepper_motor_controller.driver_board->param_pin_PWM_IN_A1;
//     self->param_pin_PE14 = &stepper_motor_controller.driver_board->param_pin_PWM_IN_B1;
//     self->param_pin_PE15 = NULL;
// }

void Config_mcu_ch32v303CBT6_v11(ch32v30x_module *self);
ch32v30x_module mcu_ch32v303CBT6_v11 = {.ConfigParam = Config_mcu_ch32v303CBT6_v11};
void Config_mcu_ch32v303CBT6_v11(ch32v30x_module *self)
{
    memset(self, 0, sizeof(ch32v30x_module));
    self->ConfigParam = Config_mcu_ch32v303CBT6_v11;
    self->Init = ch32v30x_module_v11_Init;
    self->InitSystem = ch32v30x_module_v11_InitSystem;

    self->_ = malloc(sizeof(ch32v30x_module_v11));
    ch32v30x_module_v11 *_ = (ch32v30x_module_v11 *)self->_;
    
    self->param_sysclk_hz = 144000000UL;
    self->param_HSE_hz = 12000000UL;
    // self->param_pwm_period_s = 0.5 * 2.5e-5;//40k 0.5 * 2e-5;//50k 0.5 * 4e-5;//25k 5e-5;//20k 1e-4;//10k 5e-6;//200k 5e-6;//200k 
    // self->param_pwm_period_s = 3.5e-5;//40k 2.5e-5;//40k 0.5 * 2e-5;//50k 0.5 * 4e-5;//25k 5e-5;//20k 1e-4;//10k 5e-6;//200k 5e-6;//200k 
    self->param_uart_baudrate = 460800;//921600;//
    self->param_input_pulse_counter_trigger_mode = InputPulseTrigger_RisingEdge;
    self->param_input_pulse_counter_filter_level = 0x4;

    // _->param_pin_PA0 = &stepper_motor_controller.driver_board->param_pin_CAL_EN;
    // _->param_pin_PA1 = &stepper_motor_controller.driver_board->param_pin_Vin;
    // _->param_pin_PA2 = &stepper_motor_controller.driver_board->param_pin_OP2_B_OUT;
    // _->param_pin_PA3 = &stepper_motor_controller.driver_board->param_pin_OP1_A_OUT;
    // _->param_pin_PA4 = &stepper_motor_controller.driver_board->param_pin_MT_GSENSOR_CS;
    // _->param_pin_PA5 = &stepper_motor_controller.driver_board->param_pin_SPI_CLK;
    // _->param_pin_PA6 = &stepper_motor_controller.driver_board->param_pin_SPI_MISO;
    // _->param_pin_PA7 = &stepper_motor_controller.driver_board->param_pin_SPI_MOSI;
    // _->param_pin_PA8 = &stepper_motor_controller.driver_board->param_pin_PWM_IN_A1;
    // _->param_pin_PA9 = &stepper_motor_controller.driver_board->param_pin_PWM_IN_A2;
    // _->param_pin_PA10 = &stepper_motor_controller.driver_board->param_pin_PWM_IN_B1;
    // _->param_pin_PA11 = &stepper_motor_controller.driver_board->param_pin_PWM_IN_B2;
    // _->param_pin_PA12 = NULL;
    // _->param_pin_PA13 = &stepper_motor_controller.driver_board->param_pin_SWD;
    // _->param_pin_PA14 = &stepper_motor_controller.driver_board->param_pin_SWC;
    // _->param_pin_PA15 = NULL;
    // _->param_pin_PB0 = NULL;
    // _->param_pin_PB1 = NULL;
    // _->param_pin_PB2 = NULL;
    // _->param_pin_PB3 = &stepper_motor_controller.driver_board->param_pin_EMERGENCY;
    // _->param_pin_PB4 = &stepper_motor_controller.driver_board->param_pin_STEP;
    // _->param_pin_PB5 = &stepper_motor_controller.driver_board->param_pin_EN;
    // _->param_pin_PB6 = NULL;
    // _->param_pin_PB7 = NULL;
    // _->param_pin_PB8 = &stepper_motor_controller.driver_board->param_pin_DIR;;
    // _->param_pin_PB9 = &stepper_motor_controller.driver_board->param_pin_TestGpio;
    // _->param_pin_PB10 = &stepper_motor_controller.driver_board->param_pin_UART_TX;
    // _->param_pin_PB11 = &stepper_motor_controller.driver_board->param_pin_UART_RX;
    // _->param_pin_PB12 = NULL;
    // _->param_pin_PB13 = NULL;
    // _->param_pin_PB14 = NULL;
    // _->param_pin_PB15 = NULL;
    // _->param_pin_PC0 = NULL;
    // _->param_pin_PC1 = NULL;
    // _->param_pin_PC2 = NULL;
    // _->param_pin_PC3 = NULL;
    // _->param_pin_PC4 = NULL;
    // _->param_pin_PC5 = NULL;
    // _->param_pin_PC6 = NULL;
    // _->param_pin_PC7 = NULL;
    // _->param_pin_PC8 = NULL;
    // _->param_pin_PC9 = NULL;
    // _->param_pin_PC10 = NULL;
    // _->param_pin_PC11 = NULL;
    // _->param_pin_PC12 = NULL;
    // _->param_pin_PC13 = &stepper_motor_controller.driver_board->param_pin_LED;
    // _->param_pin_PC14 = NULL;
    // _->param_pin_PC15 = NULL;
    // _->param_pin_PD0 = &stepper_motor_controller.driver_board->param_pin_OSCIN;
    // _->param_pin_PD1 = &stepper_motor_controller.driver_board->param_pin_OSCOUT;
    // _->param_pin_PD2 = NULL;
    // _->param_pin_PD3 = NULL;
    // _->param_pin_PD4 = NULL;
    // _->param_pin_PD5 = NULL;
    // _->param_pin_PD6 = NULL;
    // _->param_pin_PD7 = NULL;
    // _->param_pin_PD8 = NULL;
    // _->param_pin_PD9 = NULL;
    // _->param_pin_PD10 = NULL;
    // _->param_pin_PD11 = NULL;
    // _->param_pin_PD12 = NULL;
    // _->param_pin_PD13 = NULL;
    // _->param_pin_PD14 = NULL;
    // _->param_pin_PD15 = NULL;
    // _->param_pin_PE0 = NULL;
    // _->param_pin_PE1 = NULL;
    // _->param_pin_PE2 = NULL;
    // _->param_pin_PE3 = NULL;
    // _->param_pin_PE4 = NULL;
    // _->param_pin_PE5 = NULL;
    // _->param_pin_PE6 = NULL;
    // _->param_pin_PE7 = NULL;
    // _->param_pin_PE8 = NULL;
    // _->param_pin_PE9 = NULL;
    // _->param_pin_PE10 = NULL;
    // _->param_pin_PE11 = NULL;
    // _->param_pin_PE12 = NULL;
    // _->param_pin_PE13 = NULL;
    // _->param_pin_PE14 = NULL;
    // _->param_pin_PE15 = NULL;
}

void Config_mcu_ch32v303CBT6_v12(ch32v30x_module *self);
ch32v30x_module mcu_ch32v303CBT6_v12 = {.ConfigParam = Config_mcu_ch32v303CBT6_v12};
void Config_mcu_ch32v303CBT6_v12(ch32v30x_module *self)
{
    memset(self, 0, sizeof(ch32v30x_module));
    self->ConfigParam = Config_mcu_ch32v303CBT6_v12;
    self->Init = ch32v30x_module_v12_Init;
    self->InitSystem = ch32v30x_module_v12_InitSystem;

    self->_ = malloc(sizeof(ch32v30x_module_v12));
    ch32v30x_module_v12 *_ = (ch32v30x_module_v12 *)self->_;
    
    self->param_sysclk_hz = 144000000UL;
    self->param_HSE_hz = 12000000UL;
    // self->param_pwm_period_s = 0.5 * 2.5e-5;//40k 0.5 * 2e-5;//50k 0.5 * 4e-5;//25k 5e-5;//20k 1e-4;//10k 5e-6;//200k 5e-6;//200k 
    // self->param_pwm_period_s = 3.5e-5;//40k 2.5e-5;//40k 0.5 * 2e-5;//50k 0.5 * 4e-5;//25k 5e-5;//20k 1e-4;//10k 5e-6;//200k 5e-6;//200k 
    self->param_uart_baudrate = 460800;//3000000;//
    self->param_input_pulse_counter_trigger_mode = InputPulseTrigger_RisingEdge;
    self->param_input_pulse_counter_filter_level = 0x4;

    _->param_pin_PA0 = NULL;
    _->param_pin_PA1 = NULL;
    _->param_pin_PA2 = NULL;
    _->param_pin_PA3 = NULL;
    _->param_pin_PA4 = NULL;
    _->param_pin_PA5 = NULL;
    _->param_pin_PA6 = NULL;
    _->param_pin_PA7 = NULL;
    _->param_pin_PA8 = NULL;
    _->param_pin_PA9 = NULL;
    _->param_pin_PA10 = NULL;
    _->param_pin_PA11 = NULL;
    _->param_pin_PA12 = NULL;
    _->param_pin_PA13 = NULL;
    _->param_pin_PA14 = NULL;
    _->param_pin_PA15 = NULL;
    _->param_pin_PB0 = NULL;
    _->param_pin_PB1 = NULL;
    _->param_pin_PB2 = NULL;
    _->param_pin_PB3 = NULL;
    _->param_pin_PB4 = NULL;
    _->param_pin_PB5 = NULL;
    _->param_pin_PB6 = NULL;//&stepper_motor_controller.driver_board->param_pin_UART_TX;
    _->param_pin_PB7 = NULL;//&stepper_motor_controller.driver_board->param_pin_UART_RX;
    _->param_pin_PB8 = NULL;
    _->param_pin_PB9 = NULL;
    _->param_pin_PB10 = NULL;
    _->param_pin_PB11 = NULL;
    _->param_pin_PB12 = NULL;
    _->param_pin_PB13 = NULL;
    _->param_pin_PB14 = NULL;
    _->param_pin_PB15 = NULL;
    _->param_pin_PC0 = NULL;
    _->param_pin_PC1 = NULL;
    _->param_pin_PC2 = NULL;
    _->param_pin_PC3 = NULL;
    _->param_pin_PC4 = NULL;
    _->param_pin_PC5 = NULL;
    _->param_pin_PC6 = NULL;
    _->param_pin_PC7 = NULL;
    _->param_pin_PC8 = NULL;
    _->param_pin_PC9 = NULL;
    _->param_pin_PC10 = NULL;
    _->param_pin_PC11 = NULL;
    _->param_pin_PC12 = NULL;
    _->param_pin_PC13 = NULL;
    _->param_pin_PC14 = NULL;
    _->param_pin_PC15 = NULL;
    _->param_pin_PD0 = NULL;
    _->param_pin_PD1 = NULL;
    _->param_pin_PD2 = NULL;
    _->param_pin_PD3 = NULL;
    _->param_pin_PD4 = NULL;
    _->param_pin_PD5 = NULL;
    _->param_pin_PD6 = NULL;
    _->param_pin_PD7 = NULL;
    _->param_pin_PD8 = NULL;
    _->param_pin_PD9 = NULL;
    _->param_pin_PD10 = NULL;
    _->param_pin_PD11 = NULL;
    _->param_pin_PD12 = NULL;
    _->param_pin_PD13 = NULL;
    _->param_pin_PD14 = NULL;
    _->param_pin_PD15 = NULL;
    _->param_pin_PE0 = NULL;
    _->param_pin_PE1 = NULL;
    _->param_pin_PE2 = NULL;
    _->param_pin_PE3 = NULL;
    _->param_pin_PE4 = NULL;
    _->param_pin_PE5 = NULL;
    _->param_pin_PE6 = NULL;
    _->param_pin_PE7 = NULL;
    _->param_pin_PE8 = NULL;
    _->param_pin_PE9 = NULL;
    _->param_pin_PE10 = NULL;
    _->param_pin_PE11 = NULL;
    _->param_pin_PE12 = NULL;
    _->param_pin_PE13 = NULL;
    _->param_pin_PE14 = NULL;
    _->param_pin_PE15 = NULL;

    _->param_pin_PA0 = &stepper_motor_controller.driver_board->param_pin_STEP;
    _->param_pin_PA1 = &stepper_motor_controller.driver_board->param_pin_DIR;
    _->param_pin_PA2 = &stepper_motor_controller.driver_board->param_pin_EN;
    _->param_pin_PA3 = &stepper_motor_controller.driver_board->param_pin_STALL_OUT;
    _->param_pin_PA4 = &stepper_motor_controller.driver_board->param_pin_BUZZER_EN;
    _->param_pin_PA5 = &stepper_motor_controller.driver_board->param_pin_MOTER_PWR_EN;
    _->param_pin_PA9 = &stepper_motor_controller.driver_board->param_pin_UART1_TX;
    _->param_pin_PA10 = &stepper_motor_controller.driver_board->param_pin_UART1_RX;
    _->param_pin_PB0 = &stepper_motor_controller.driver_board->param_pin_ADC_VOUT;
    _->param_pin_PB1 = &stepper_motor_controller.driver_board->param_pin_ADC_VIN;
    _->param_pin_PB3 = &stepper_motor_controller.driver_board->param_pin_KEY1;
    _->param_pin_PB4 = &stepper_motor_controller.driver_board->param_pin_KEY2;
    _->param_pin_PB8 = &stepper_motor_controller.driver_board->param_pin_START;
    _->param_pin_PB9 = &stepper_motor_controller.driver_board->param_pin_STOP;
    _->param_pin_PB10 = &stepper_motor_controller.driver_board->param_pin_UART_TX;
    _->param_pin_PB11 = &stepper_motor_controller.driver_board->param_pin_UART_RX;
    _->param_pin_PB12 = &stepper_motor_controller.driver_board->param_pin_LED_GREEN;
    _->param_pin_PB13 = &stepper_motor_controller.driver_board->param_pin_LED_RED;
    _->param_pin_PB14 = &stepper_motor_controller.driver_board->param_pin_LED_STATUS1;
    _->param_pin_PB15 = &stepper_motor_controller.driver_board->param_pin_LED_STATUS2;



    // _->param_pin_PA0 = &stepper_motor_controller.driver_board->param_pin_CAL_EN;
    // _->param_pin_PA1 = &stepper_motor_controller.driver_board->param_pin_Vin;
    // _->param_pin_PA2 = &stepper_motor_controller.driver_board->param_pin_OP2_B_OUT;
    // _->param_pin_PA3 = &stepper_motor_controller.driver_board->param_pin_OP1_A_OUT;
    // _->param_pin_PA4 = &stepper_motor_controller.driver_board->param_pin_MT_GSENSOR_CS;
    // _->param_pin_PA5 = &stepper_motor_controller.driver_board->param_pin_SPI_CLK;
    // _->param_pin_PA6 = &stepper_motor_controller.driver_board->param_pin_SPI_MISO;
    // _->param_pin_PA7 = &stepper_motor_controller.driver_board->param_pin_SPI_MOSI;
    // _->param_pin_PA8 = &stepper_motor_controller.driver_board->param_pin_PWM_IN_A1;
    // _->param_pin_PA9 = &stepper_motor_controller.driver_board->param_pin_PWM_IN_A2;
    // _->param_pin_PA10 = &stepper_motor_controller.driver_board->param_pin_PWM_IN_B1;
    // _->param_pin_PA11 = &stepper_motor_controller.driver_board->param_pin_PWM_IN_B2;
    // _->param_pin_PA12 = &stepper_motor_controller.driver_board->param_pin_STEP_A1;
    // _->param_pin_PA13 = &stepper_motor_controller.driver_board->param_pin_SWD;
    // _->param_pin_PA14 = &stepper_motor_controller.driver_board->param_pin_SWC;
    // _->param_pin_PA15 = &stepper_motor_controller.driver_board->param_pin_STEP_A0;
    // _->param_pin_PB0 = NULL;
    // _->param_pin_PB1 = NULL;
    // _->param_pin_PB2 = NULL;
    // _->param_pin_PB3 = &stepper_motor_controller.driver_board->param_pin_EMERGENCY;
    // _->param_pin_PB4 = &stepper_motor_controller.driver_board->param_pin_STEP;
    // _->param_pin_PB5 = &stepper_motor_controller.driver_board->param_pin_EN;
    // _->param_pin_PB6 = NULL;//&stepper_motor_controller.driver_board->param_pin_UART_TX;
    // _->param_pin_PB7 = NULL;//&stepper_motor_controller.driver_board->param_pin_UART_RX;
    // _->param_pin_PB8 = &stepper_motor_controller.driver_board->param_pin_DIR;
    // _->param_pin_PB9 = &stepper_motor_controller.driver_board->param_pin_TestGpio;
    // _->param_pin_PB10 = &stepper_motor_controller.driver_board->param_pin_UART_TX;
    // _->param_pin_PB11 = &stepper_motor_controller.driver_board->param_pin_UART_RX;
    // _->param_pin_PB12 = &stepper_motor_controller.driver_board->param_pin_STEP_B1;
    // _->param_pin_PB13 = &stepper_motor_controller.driver_board->param_pin_STEP_B0;
    // _->param_pin_PB14 = NULL;
    // _->param_pin_PB15 = NULL;
    // _->param_pin_PC0 = NULL;
    // _->param_pin_PC1 = NULL;
    // _->param_pin_PC2 = NULL;
    // _->param_pin_PC3 = NULL;
    // _->param_pin_PC4 = NULL;
    // _->param_pin_PC5 = NULL;
    // _->param_pin_PC6 = NULL;
    // _->param_pin_PC7 = NULL;
    // _->param_pin_PC8 = NULL;
    // _->param_pin_PC9 = NULL;
    // _->param_pin_PC10 = NULL;
    // _->param_pin_PC11 = NULL;
    // _->param_pin_PC12 = NULL;
    // _->param_pin_PC13 = &stepper_motor_controller.driver_board->param_pin_LED;
    // _->param_pin_PC14 = NULL;
    // _->param_pin_PC15 = NULL;
    // _->param_pin_PD0 = &stepper_motor_controller.driver_board->param_pin_OSCIN;
    // _->param_pin_PD1 = &stepper_motor_controller.driver_board->param_pin_OSCOUT;
    // _->param_pin_PD2 = NULL;
    // _->param_pin_PD3 = NULL;
    // _->param_pin_PD4 = NULL;
    // _->param_pin_PD5 = NULL;
    // _->param_pin_PD6 = NULL;
    // _->param_pin_PD7 = NULL;
    // _->param_pin_PD8 = NULL;
    // _->param_pin_PD9 = NULL;
    // _->param_pin_PD10 = NULL;
    // _->param_pin_PD11 = NULL;
    // _->param_pin_PD12 = NULL;
    // _->param_pin_PD13 = NULL;
    // _->param_pin_PD14 = NULL;
    // _->param_pin_PD15 = NULL;
    // _->param_pin_PE0 = NULL;
    // _->param_pin_PE1 = NULL;
    // _->param_pin_PE2 = NULL;
    // _->param_pin_PE3 = NULL;
    // _->param_pin_PE4 = NULL;
    // _->param_pin_PE5 = NULL;
    // _->param_pin_PE6 = NULL;
    // _->param_pin_PE7 = NULL;
    // _->param_pin_PE8 = NULL;
    // _->param_pin_PE9 = NULL;
    // _->param_pin_PE10 = NULL;
    // _->param_pin_PE11 = NULL;
    // _->param_pin_PE12 = NULL;
    // _->param_pin_PE13 = NULL;
    // _->param_pin_PE14 = NULL;
    // _->param_pin_PE15 = NULL;
}